<?php
namespace Home\Controller;
use Think\Controller;
class DelController extends Controller {
    public function delDo(){
		//echo 'ahahahahah';
		$info = I('get.');
		//print_r($info);
		$model = M('type');
		$model->delete($info['id']);
		$this->success("删除成功.",U("Home/Index/index"),3);
    }
}